/*
 * @Author: NtyAaron
 * @Date: 2021-04-10 18:57:54
 * @LastEditors: NtyAaron
 * @LastEditTime: 2021-06-23 14:24:10
 * @Description: select配置api
 * @FilePath: \dwq\api\tag\tag.js
 */

import request from '../../utils/request'

// 城市列表
export const getCityList = (e) => {
  return request({
    url: `/city/getCityList?language=${e}`,
  })
}

// 父级行业列表
export const getAllIndustry = (e) => {
  return request({
    url: `/city/getAllIndustry?language=${e}`,
  })
}

// 子级行业列表
export const getIndustryList = (e) => {
  return request({
    url: `/city/getIndustryList?language=${e.status}&parentId=${e.parentId}`,
  })
}
